//
//  BMAAppManager.h
//  Autismus
//
//  Created by Nicolas CHENG on 04/12/11.
//  Copyright (c) 2011 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>

@class BMAExercice;

@interface BMAAppManager : NSObject
{
    NSDictionary *settingsPlist;
    
@private
    NSDictionary *_emotions;
    NSMutableArray *_exercices;
}

+ (id)sharedInstance;

- (NSDictionary *)emotions;
- (NSArray *)exercices;         // Array de BMAExercice
- (BMAExercice *)exerciceForIndex:(NSUInteger)aIndex;

// pour les PHOTOS
- (UIImage *)randomPhoto;
- (UIImage *)randomPhotoFor:(BMAEmotion)aEmotion;
- (NSString *)randomPhotoPathFor:(BMAEmotion)aEmotion;
- (NSUInteger)photoCountFor:(BMAEmotion)aEmotion;

// pour les ILLUSTRATIONS
- (UIImage *)illustrationFor:(BMAEmotion)aEmotion;
- (NSString *)randomIllustrationPathFor:(BMAEmotion)aEmotion;
- (NSString *)keyNameForEmotion:(BMAEmotion)aEmotion;

// Premium version - in app purchase
- (void)unlockPremiumVersion;

@end
